/** CS2340 Spring 2011 Project
 *  Team: 40 Jiggawatt Hard Driver
 *  Suk Hwan Hong
 *  Rhys Saraceni
 *  Travis Cooper
 *  Luke Stubb
 *
 * @author 40 Jiggawatt Hard Driver
 * @version 1.0 
 */

package edu.gatech.jiggawatt.office.model;

import java.io.Serializable;

/**
 * Represents Income Statistics
 * @author 40 Jiggawatt Hard Driver
 * @version 1.0
 *
 */
public class IncomeStatistics implements Serializable // $codepro.audit.disable declareDefaultConstructors
{
	private int patientsSeen;
	private double totalAmount;
	

	/**
	 * Creates income statistics
	 * @param p number of patients seen
	 * @param t total amount
	 */
	public IncomeStatistics(int p, double t)
	{
		patientsSeen = p;
		setTotalAmount(t);
	}

	/**
	 * sets patients seen
	 * @param patientsSeen
	 */
	public void setPatientsSeen(int patientsSeen) {
		this.patientsSeen = patientsSeen;
	}

	/**
	 * gets patients seen
	 * @return patients seen
	 */
	public int getPatientsSeen() {
		return patientsSeen;
	}

	/**
	 * sets total amount
	 * @param totalAmount
	 */
	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	/**
	 * gets total amount
	 * @return total amount
	 */
	public double getTotalAmount() {
		return totalAmount;
	}
	
	/**
	 * returns string format of income statistics
	 * @return string format of income statistics
	 */
	public String toString()
	{
		return "Patients Seen: " + patientsSeen + " total amount: $" + totalAmount; // $codepro.audit.disable stringLiterals
	}

}
